CC=gcc
CFLAGS=`pkg-config --cflags --libs gtk+-2.0`

main: main.c gui.c
	@echo -n Compiling...
	@$(CC) $< gui.c $(CFLAGS) -o `echo $< | cut -d. -f1`
	@echo done.
	@-ls --color=auto

clean:
	@echo -n Cleaning up...
	@-rm -f main *~ *.o
	@echo done.
